import request from "@/utils/request.js";

export async function login(data) {
	return request("/login/phone", {
		method: "post",
		data
	});
}

export async function codeSend(data) {
	console.log(data);
	return request("/login/codeSend", {
		method: "post",
		data
	});
}